<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
   <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
   <%-- <%@taglib prefix="c" uri="../WEB-INF/lib/"%> --%>
    <%String path=request.getContextPath(); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>种子软件项目管理系统</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(../images/left.gif);
}
-->
</style>
<link href="../css/css.css" rel="stylesheet" type="text/css" />
</head>
<SCRIPT language=JavaScript>
function tupian(idt){
    var nametu="xiaotu"+idt;
    var tp = document.getElementById(nametu);
    tp.src="../images/ico05.gif";//图片ico04为白色的正方形
	
	for(var i=1;i<30;i++)
	{
	  
	  var nametu2="xiaotu"+i;
	  if(i!=idt*1)
	  {
	    var tp2=document.getElementById('xiaotu'+i);
		if(tp2!=undefined)
	    {tp2.src="../images/ico06.gif";}//图片ico06为蓝色的正方形
	  }
	}
}

function list(idstr){
	var name1="subtree"+idstr;
	var name2="img"+idstr;
	var objectobj=document.all(name1);
	var imgobj=document.all(name2);
	
	
	//alert(imgobj);
	
	if(objectobj.style.display=="none"){
		for(i=1;i<10;i++){
			var name3="img"+i;
			var name="subtree"+i;
			var o=document.all(name);
			if(o!=undefined){
				o.style.display="none";
				var image=document.all(name3);
				//alert(image);
				image.src="../images/ico04.gif";
			}
		}
		objectobj.style.display="";
		imgobj.src="../images/ico03.gif";
	}
	else{
		objectobj.style.display="none";
		imgobj.src="../images/ico04.gif";
	}
}

</SCRIPT>
</head>
<body>
 <c:if test="${sessionScope.role!=null}">  
<table width="198" border="0" cellpadding="0" cellspacing="0" class="left-table01">
  <tr>
    <TD>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		  <tr>
			<td width="207" height="55" background="../images/nav01.gif">
				<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
				  <tr>
					<td width="25%" rowspan="2"><img src="../images/ico02.gif" width="35" height="35" /></td>
					<td width="75%" height="22" class="left-font01">您好，<span class="left-font01">管理员</span></td>
				  </tr>
				  <tr>
					<td height="22" class="left-font01">
						[&nbsp;<a href="<%=path %>/logincontroller/exitlogin" target="_top" class="left-font01">退出</a>&nbsp;]</td>
				  </tr>
				</table>
			</td>
		  </tr>
		</table>
		


		

		

		


<!-- 八大功能管理开始 -->
        <TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29">
				<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td width="8%"><img name="img1" id="img1" src="../images/ico04.gif" width="8" height="11" /></td>
						<td width="92%">
								<a href="javascript:" target="mainFrame" class="left-font03" onClick="list('1');" >八大功能管理</a></td>
					</tr>
				</table>
			</td>
          </tr>		  
        </TABLE>
		<table id="subtree1" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" 
				cellspacing="0" class="left-table02">
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu1" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path %>/Functionlist/listfunction1?functionNum=1" target="mainFrame" class="left-font03" onClick="tupian('1');">功能一</a></td>
				</tr>
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu4" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path %>/Functionlist/listfunction1?functionNum=2" target="mainFrame" class="left-font03" onClick="tupian('4');">功能二</a></td>
				</tr>
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu2" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path %>/Functionlist/listfunction1?functionNum=3" target="mainFrame" class="left-font03" onClick="tupian('2');">功能三</a></td>
				</tr>
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu5" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path %>/Functionlist/listfunction1?functionNum=4" target="mainFrame" class="left-font03" onClick="tupian('5');">功能四</a></td>
				</tr>
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu3" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path %>/Functionlist/listfunction1?functionNum=5" target="mainFrame" class="left-font03" onClick="tupian('3');">功能五</a></td>
				</tr>
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu6" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path %>/Functionlist/listfunction1?functionNum=6" target="mainFrame" class="left-font03" onClick="tupian('6');">功能六</a></td>
				</tr>
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu7" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path %>/Functionlist/listfunction1?functionNum=7" target="mainFrame" class="left-font03" onClick="tupian('7');">功能七</a></td>
				</tr>
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu8" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path %>/Functionlist/listfunction1?functionNum=8" target="mainFrame" class="left-font03" onClick="tupian('8');">功能八</a></td>
				</tr>
      </table>
		<!--  八大功能结束    -->       

	  <!--  图片管理开始    -->
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="8%" height="12"><img name="img2" id="img2" src="../images/ico04.gif" width="8" height="11" /></td>
                  <td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('2');" >图片管理</a></td>
                </tr>
            </table></td>
          </tr>
      </table>
	  
	  <table id="subtree2" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
        <tr>
				  <td width="9%" height="20" ><img id="xiaotu20" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path %>/banner2/selectban" target="mainFrame" class="left-font03" onClick="tupian('20');">banner图查看</a></td>
		</tr>
		<tr>
          <td width="9%" height="20" ><img id="xiaotu25" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/banner2/selecteight" target="mainFrame" class="left-font03" onClick="tupian('25');">功能封面图片查看</a></td>
        </tr>
        <tr>
          <td width="9%" height="20" ><img id="xiaotu21" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/banner2/selectfdimgs" target="mainFrame" class="left-font03" onClick="tupian('21');">详情图片查看（不包含封面图片）</a></td>
        </tr>
      </table>

	  <!--  图片管理结束    -->
	  
	   <!--店铺管理开始-->

		<TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29">
				<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td width="8%"><img name="img9" id="img9" src="../images/ico04.gif" width="8" height="11" /></td>
						<td width="92%">
								<a href="javascript:" target="mainFrame" class="left-font03" onClick="list('9');" >店铺管理</a></td>
					</tr>
				</table>
			</td>
          </tr>		  
        </TABLE>

		<table id="subtree9" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" 
				cellspacing="0" class="left-table02">
				<tr>
				  <td width="9%" height="22" ><img id="xiaotu22" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path%>/cityShopcontroller/selectcityall1" target="mainFrame" class="left-font03" 
						onClick="tupian('22');">店铺信息查看</a></td>
				</tr>
				<!-- <tr>
				  <td width="9%" height="23" ><img id="xiaotu23" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="listgerenrenwu.htm" target="mainFrame" class="left-font03" 
						onClick="tupian('23');">任务信息查看</a></td>
				</tr> -->
      </table>
		<!--  店铺管理结束    -->

	  <!--  订单系统开始    -->
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="8%" height="12"><img name="img3" id="img3" src="../images/ico04.gif" width="8" height="11" /></td>
                  <td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('3');" >订单查看</a></td>
                </tr>
            </table></td>
          </tr>
      </table>
	  
	  <table id="subtree3" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
        <tr>
          <td width="9%" height="20" ><img id="xiaotu26" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/order1controller/selectwc" target="mainFrame" class="left-font03" onClick="tupian('26');">已付全款订单查看</a></td>
        </tr>
        <tr>
          <td width="9%" height="20" ><img id="xiaotu23" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/order1controller/selectyewzf" target="mainFrame" class="left-font03" onClick="tupian('23');">未付全款订单查看</a></td>
        </tr>
		<%-- <tr>
          <td width="9%" height="20" ><img id="xiaotu9" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/order1controller/selectwzf2" target="mainFrame" class="left-font03" onClick="tupian('9');">未付款订单查看</a></td>
        </tr>
		<tr>
          <td width="9%" height="20" ><img id="xiaotu10" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/order1controller/selectyqx" target="mainFrame" class="left-font03" onClick="tupian('10');">已取消订单查看</a></td>
        </tr> --%>
        <tr>
          <td width="9%" height="20" ><img id="xiaotu9" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/order1controller/showsxorders" target="mainFrame" class="left-font03" onClick="tupian('9');">已更换时间订单查看</a></td>
        </tr>
      </table>
	
	  <!--  订单系统结束    -->
	  
	  <!--  评论开始    -->
		 <TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29">
				<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td width="8%"><img name="img8" id="img8" src="../images/ico04.gif" width="8" height="11" /></td>
						<td width="92%">
								<a href="javascript:" target="mainFrame" class="left-font03" onClick="list('8');" >评论管理</a></td>
					</tr>
				</table>
			</td>
          </tr>		  
        </TABLE>
		<table id="subtree8" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" 
				cellspacing="0" class="left-table02">
				<tr>
				  <td width="9%" height="20" ><img id="xiaotu20" src="../images/ico06.gif" width="8" height="12" /></td>
				  <td width="91%"><a href="<%=path %>/commentcontroller/selectcomment" target="mainFrame" class="left-font03" onClick="tupian('20');">所有评论查看</a></td>
				</tr>
				
      </table>
		<!--  评论结束    -->

 <!--  其他功能开始    -->
	   <table width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="8%" height="12"><img name="img4" id="img4" src="../images/ico04.gif" width="8" height="11" /></td>
                  <td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('30');" >其它功能</a></td>
                </tr>
            </table></td>
          </tr>
      </table>
	  
	  <table id="subtree30" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
		<tr>
          <td width="9%" height="20" ><img id="xiaotu28" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/otherfun1/selectnotice1" target="mainFrame" class="left-font03" onClick="tupian('28');">预约须知</a></td>
        </tr>
        <tr>
          <td width="9%" height="20" ><img id="xiaotu29" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/otherfun1/selectagreement1" target="mainFrame" class="left-font03" onClick="tupian('29');">预约协议</a></td>
        </tr>
         <tr>
          <td width="9%" height="20" ><img id="xiaotu29" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/pages/pbtimes.jsp" target="mainFrame" class="left-font03" onClick="tupian('29');">屏蔽预约时间</a></td>
        </tr>
         <tr>
          <td width="9%" height="20" ><img id="xiaotu29" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/Ordertimecontroller1/showpbtimes" target="mainFrame" class="left-font03" onClick="tupian('29');">显示已屏蔽时间</a></td>
        </tr>
         <tr>
          <td width="9%" height="20" ><img id="xiaotu29" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path %>/pages/mainfra.jsp" target="mainFrame" class="left-font03" onClick="tupian('29');">回到主界面</a></td>
        </tr>
	  	
      </table>

      <!--  微信用户结束    -->





	   <!--  微信用户开始    -->
	   <table width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="8%" height="12"><img name="img4" id="img4" src="../images/ico04.gif" width="8" height="11" /></td>
                  <td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('4');" >微信用户管理</a></td>
                </tr>
            </table></td>
          </tr>
      </table>
	  
	  <table id="subtree4" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
		<tr>
          <td width="9%" height="20" ><img id="xiaotu11" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="<%=path%>/wxuser/selectallwxuser" target="mainFrame" class="left-font03" onClick="tupian('11');">微信用户查看</a></td>
        </tr>
	  	
      </table>

      <!--  微信用户结束    -->

	  <!-- 系统用户开始 -->
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
          <tr>
            <td height="29"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="8%"><img name="img5" id="img5" src="../images/ico04.gif" width="8" height="11" /></td>
                  <td width="92%"><a href="javascript:" target="mainFrame" class="left-font03" onClick="list('5');">系统用户管理</a></td>
                </tr>
            </table></td>
          </tr>
      </table>

	  <table id="subtree5" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="left-table02">
        <tr>
          <td width="9%" height="20"><img id="xiaotu13" src="../images/ico06.gif" width="8" height="12" /></td>
          <td width="91%"><a href="xiugaiuser.jsp" target="mainFrame" class="left-font03" onClick="tupian('13');">修改本管理员信息</a></td>
        </tr>
        <c:if test="${sessionScope.role=='1'}">
        <tr>
          <td height="20"><img id="xiaotu14" src="../images/ico06.gif" width="8" height="12" /></td>
          <td><a href="../pages/adduser.jsp" target="mainFrame" class="left-font03" onClick="tupian('14');">添加新管理员</a></td>
        </tr>
        </c:if>
      </table>
	  <!-- 系统用户结束-->

		
   

	  </TD>
  </tr>
  
</table>
    </c:if>   
</body>
</body>
</html>